package com.hgd.igreencar.dao;

import com.hgd.igreencar.entity.CarPerson;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CarPersonMapper {
    List<CarPerson> queryData(String areaName, String brandName, int currentPage, int pageSize);

    List<CarPerson> queryByOver(String areaName, String brandName, int currentPage, int pageSize);

    List<CarPerson> queryAllData(int currentPage, int pageSize);

    List<CarPerson> queryAllOverData(int currentPage, int pageSize);
}
